#include <jni.h>
#include <stdio.h>


static int t =0;
/*
 * Class:     HelloJNI
 * Method:    hello
 * Signature: (C)Ljava/lang/String;
 */
JNIEXPORT jstring JNICALL Java_HelloJNI_hello
  (JNIEnv * env, jclass clazz, jchar c){

  printf("%d",c);
  char buf[128]="hahha";
  return (*env) -> NewStringUTF(env, buf);

}

JNIEXPORT jint JNICALL Java_HelloJNI_cStaticTest
  (JNIEnv * env, jclass clazz, jlong l){

  register long i=0;
  for(;i<l;i++){
  }
  return 0;
}

